package com.rd.student.ruanjian.class4.zhouzihe.day0802;

public abstract class Animal {
    String name;
    Animal() {

    }
    public abstract void enjoy();

    abstract void voice();
    public String getName(){
        return name;
    }
    public void  setName(String name){
        this.name=name;
    }
}
